package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 借还日志对象 borrow_log
 * 
 * @author hzl
 * @date 2025-02-09
 */
public class BorrowLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long borrowLogId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String assetId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date borrowTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date returnTime;

    /** $column.columnComment */
    private BigDecimal borrowLatitude;

    /** $column.columnComment */
    private BigDecimal borrowLongitude;

    /** $column.columnComment */
    private BigDecimal borrowAltitude;

    /** $column.columnComment */
    private BigDecimal returnLatitude;

    /** $column.columnComment */
    private BigDecimal returnLongitude;

    /** $column.columnComment */
    private BigDecimal returnAltitude;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String borrowLocation;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String returnLocation;

    /** $column.columnComment */
    private String borrowReason;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String adminId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date approveTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer auditResult;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer auditStatus;

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Integer getAuditResult() {
        return auditResult;
    }

    public void setAuditResult(Integer auditResult) {
        this.auditResult = auditResult;
    }

    public void setBorrowLogId(Long borrowLogId)
    {
        this.borrowLogId = borrowLogId;
    }

    public Long getBorrowLogId() 
    {
        return borrowLogId;
    }
    public void setAssetId(String assetId) 
    {
        this.assetId = assetId;
    }

    public String getAssetId() 
    {
        return assetId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBorrowTime(Date borrowTime) 
    {
        this.borrowTime = borrowTime;
    }

    public Date getBorrowTime() 
    {
        return borrowTime;
    }
    public void setReturnTime(Date returnTime) 
    {
        this.returnTime = returnTime;
    }

    public Date getReturnTime() 
    {
        return returnTime;
    }
    public void setBorrowLatitude(BigDecimal borrowLatitude) 
    {
        this.borrowLatitude = borrowLatitude;
    }

    public BigDecimal getBorrowLatitude() 
    {
        return borrowLatitude;
    }
    public void setBorrowLongitude(BigDecimal borrowLongitude) 
    {
        this.borrowLongitude = borrowLongitude;
    }

    public BigDecimal getBorrowLongitude() 
    {
        return borrowLongitude;
    }
    public void setBorrowAltitude(BigDecimal borrowAltitude) 
    {
        this.borrowAltitude = borrowAltitude;
    }

    public BigDecimal getBorrowAltitude() 
    {
        return borrowAltitude;
    }
    public void setReturnLatitude(BigDecimal returnLatitude) 
    {
        this.returnLatitude = returnLatitude;
    }

    public BigDecimal getReturnLatitude() 
    {
        return returnLatitude;
    }
    public void setReturnLongitude(BigDecimal returnLongitude) 
    {
        this.returnLongitude = returnLongitude;
    }

    public BigDecimal getReturnLongitude() 
    {
        return returnLongitude;
    }
    public void setReturnAltitude(BigDecimal returnAltitude) 
    {
        this.returnAltitude = returnAltitude;
    }

    public BigDecimal getReturnAltitude() 
    {
        return returnAltitude;
    }
    public void setBorrowLocation(String borrowLocation) 
    {
        this.borrowLocation = borrowLocation;
    }

    public String getBorrowLocation() 
    {
        return borrowLocation;
    }
    public void setReturnLocation(String returnLocation) 
    {
        this.returnLocation = returnLocation;
    }

    public String getReturnLocation() 
    {
        return returnLocation;
    }
    public void setBorrowReason(String borrowReason) 
    {
        this.borrowReason = borrowReason;
    }

    public String getBorrowReason() 
    {
        return borrowReason;
    }
    public void setAdminId(String adminId) 
    {
        this.adminId = adminId;
    }

    public String getAdminId() 
    {
        return adminId;
    }
    public void setApproveTime(Date approveTime) 
    {
        this.approveTime = approveTime;
    }

    public Date getApproveTime() 
    {
        return approveTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("borrowLogId", getBorrowLogId())
            .append("assetId", getAssetId())
            .append("userId", getUserId())
            .append("borrowTime", getBorrowTime())
            .append("returnTime", getReturnTime())
            .append("borrowLatitude", getBorrowLatitude())
            .append("borrowLongitude", getBorrowLongitude())
            .append("borrowAltitude", getBorrowAltitude())
            .append("returnLatitude", getReturnLatitude())
            .append("returnLongitude", getReturnLongitude())
            .append("returnAltitude", getReturnAltitude())
            .append("borrowLocation", getBorrowLocation())
            .append("returnLocation", getReturnLocation())
            .append("borrowReason", getBorrowReason())
            .append("adminId", getAdminId())
            .append("approveTime", getApproveTime())
            .append("auditResult", getAuditResult())
            .append("auditStatus", getAuditStatus())
            .toString();
    }
}
